import {$get, $post, $delete, $put, $postParms} from '@/utils/require'

export enum LabScheduleApi{
    getLabType = "/common/schedule/getLabType",
    getFormSchedule = "/common/schedule/getFormSchedule",

}

export const LabType = async (body?:any, params?: any) => {
    try{
        return await $postParms(LabScheduleApi.getLabType,body, params);
    }catch (error){
        console.error(error)
    }
}
export const FormScheduleList = async (body?:any, params?: any) => {
    try{
        return await $postParms(LabScheduleApi.getFormSchedule,body, params);
    }catch (error){
        console.error(error)
    }
}